package com.pysoft.safe.service;

import java.util.List;
import java.util.Map;

import com.pysoft.safe.dao.entity.ResourceEntity;

public interface ResourceService {

	public List<ResourceEntity> query(Map<String, Object> paramMap);

	public ResourceEntity getResource(String id);

	public ResourceEntity addResource(ResourceEntity resource);

	public void modifyResource(ResourceEntity resource);

	public void removeResource(String id);
	
	public void relatingRole(String resourceId, List<String> roleIdList);
	
	public void cancelRelatingRole(String resourceId);
	
	public List<String> getRelatingRoles(String resourceId);	
}
